package com.koron.standard.gradeStock.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.koron.standard.gradeStock.bean.po.Grade;
import com.koron.standard.gradeStock.bean.vo.GradeVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 大修分级分项验收标准(Grade)表数据库访问层
 *
 * @author jzp
 * @since 2021-09-26
 */
public interface GradeMapper extends BaseMapper<Grade> {

    GradeVO getVoById(String id);

    Page<GradeVO> selectPageVo(@Param("page") IPage<GradeVO> page, @Param(Constants.WRAPPER) Wrapper<GradeVO> queryWrapper);

    List<GradeVO> selectPageVo(@Param(Constants.WRAPPER) Wrapper<GradeVO> queryWrapper);

}
